#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdarg.h>
#include <dirent.h>
#include <pthread.h>
#include "network.h"

#ifdef debug
  #define SERVER_RECEIVE_PORT 2121
  #define SERVER_SEND_PORT 2020
#else
  #define SERVER_RECEIVE_PORT 21
  #define SERVER_SEND_PORT 20
#endif

#define BUFFER_SIZE (16 * 1024)

void sync_printf(const char *format, ...);
